using System.Collections.ObjectModel;
using Microsoft.WindowsAzure.ServiceRuntime;

namespace AzureContrib.WindowsAzure.ServiceRuntime
{
	/// <summary>
	/// Wrapper contract for <see cref="Role"/>
	/// </summary>
	public interface IRole
	{
		/// <summary>
		/// <see cref="Role.Name"/>
		/// </summary>
		string Name { get; }

		/// <summary>
		/// <see cref="Role.Instances"/>
		/// </summary>
		ReadOnlyCollection<IRoleInstance> Instances { get; }
	}
}